package com.alibaba.citrus.cr.mn.order.center.facade.adapter.dataobject.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ForecastClosedToSAPRequest implements Serializable {
    private static final Long serialVersionUID = -1L;
    //SAP调拨单行号
    private String VBELN;
    private String modifier;
    private String modifyTime;
    private String features;
    private String ext;
    private String ext1;
    private String ext2;
    private List<Items> items;

    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Items implements Serializable {
        private static final Long serialVersionUID = -1L;
        // 物料行id
        private String POSNR;
        // 拒绝原因代码
        private String ABGRU;
        // 拒绝原因代码2
        private String IHREZ_E;
        private String features;

    }
}
